What's the the difference between element attributes & properties in ...
The.attr()methodisaconvenientwaytosetthevalueofattributes—especiallywhensettingmultipleattributesorusingvaluesreturnedbyafunction ...,ThesetAttribute()methodoftheElementinterfacesetsthevalueofanattributeonthespecifiedelement.Element.removeAttribu...。參考影片的文章的如下: